package hu.diploma.core.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "smsmms_table")
public class SmsMms extends BaseEntity {

	@ManyToOne
	private PersonalData personalData;

	@Column(name = "date")
	private Date date;

	@Column(name = "body")
	private String body;

	@Column(name = "number")
	private String number;

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

}
